#ifndef OHOS_SUB_EXAMPLE_DEMO_PROXY_H
#define OHOS_SUB_EXAMPLE_DEMO_PROXY_H

#include "demo_interface.h"
#include "iremote_proxy.h"

namespace OHOS {
class DemoProxy : public IRemoteProxy<IDemo> {
public:
    explicit DemoProxy(const sptr<IRemoteObject>& impl)
        : IRemoteProxy<IDemo>(impl)
    {
    }
    ~DemoProxy() {}
    int32_t StartRemoteAbility(uint32_t accessToken) override;

private:
    static inline BrokerDelegator<DemoProxy> delegator_;
};
} // namespace OHOS
#endif
